package com.supreme.commonboot.utils;

public enum HttpCodeEnum {
    HTTP200(200, "Success"),
    HTTP400(400, "Bad Request"),
    HTTP401(401, "Unauthorized"),
    HTTP403(403, "Forbidden"),
    HTTP404(404, "Not Found"),
    HTTP405(405, "Method Not Allowed"),
    HTTP406(406, "Not Acceptable"),
    HTTP407(407, "Proxy Authentication Required"),
    HTTP408(408, "Request Time-out"),
    HTTP500(500, "Internal Server Error"),
    HTTP501(501, "Not Implemented"),
    HTTP502(502, "Bad Gateway"),
    HTTP503(503, "Service Unavailable"),
    HTTP504(504, "Gateway Time-out"),
    HTTP505(505, "HTTP Version not supported")
    ;

    private int code;
    private String message;

    HttpCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
